﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011F3 RID: 4595
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartAetherDivideChallengeBattleCsReq : IMessage<StartAetherDivideChallengeBattleCsReq>, IMessage, IEquatable<StartAetherDivideChallengeBattleCsReq>, IDeepCloneable<StartAetherDivideChallengeBattleCsReq>, IBufferMessage
	{
		// Token: 0x17003A34 RID: 14900
		// (get) Token: 0x0600CDE0 RID: 52704 RVA: 0x0022A9C9 File Offset: 0x00228BC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartAetherDivideChallengeBattleCsReq> Parser
		{
			get
			{
				return StartAetherDivideChallengeBattleCsReq._parser;
			}
		}

		// Token: 0x17003A35 RID: 14901
		// (get) Token: 0x0600CDE1 RID: 52705 RVA: 0x0022A9D0 File Offset: 0x00228BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartAetherDivideChallengeBattleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A36 RID: 14902
		// (get) Token: 0x0600CDE2 RID: 52706 RVA: 0x0022A9E2 File Offset: 0x00228BE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartAetherDivideChallengeBattleCsReq.Descriptor;
			}
		}

		// Token: 0x0600CDE3 RID: 52707 RVA: 0x0022A9E9 File Offset: 0x00228BE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideChallengeBattleCsReq()
		{
		}

		// Token: 0x0600CDE4 RID: 52708 RVA: 0x0022A9F1 File Offset: 0x00228BF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideChallengeBattleCsReq(StartAetherDivideChallengeBattleCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.bNCNMEGFHPM_ = other.bNCNMEGFHPM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CDE5 RID: 52709 RVA: 0x0022AA22 File Offset: 0x00228C22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideChallengeBattleCsReq Clone()
		{
			return new StartAetherDivideChallengeBattleCsReq(this);
		}

		// Token: 0x17003A37 RID: 14903
		// (get) Token: 0x0600CDE6 RID: 52710 RVA: 0x0022AA2A File Offset: 0x00228C2A
		// (set) Token: 0x0600CDE7 RID: 52711 RVA: 0x0022AA32 File Offset: 0x00228C32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x17003A38 RID: 14904
		// (get) Token: 0x0600CDE8 RID: 52712 RVA: 0x0022AA3B File Offset: 0x00228C3B
		// (set) Token: 0x0600CDE9 RID: 52713 RVA: 0x0022AA43 File Offset: 0x00228C43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BNCNMEGFHPM
		{
			get
			{
				return this.bNCNMEGFHPM_;
			}
			set
			{
				this.bNCNMEGFHPM_ = value;
			}
		}

		// Token: 0x0600CDEA RID: 52714 RVA: 0x0022AA4C File Offset: 0x00228C4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartAetherDivideChallengeBattleCsReq);
		}

		// Token: 0x0600CDEB RID: 52715 RVA: 0x0022AA5A File Offset: 0x00228C5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartAetherDivideChallengeBattleCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.BNCNMEGFHPM == other.BNCNMEGFHPM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CDEC RID: 52716 RVA: 0x0022AA98 File Offset: 0x00228C98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this.BNCNMEGFHPM != 0U)
			{
				num ^= this.BNCNMEGFHPM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CDED RID: 52717 RVA: 0x0022AAF0 File Offset: 0x00228CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CDEE RID: 52718 RVA: 0x0022AAF8 File Offset: 0x00228CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CDEF RID: 52719 RVA: 0x0022AB04 File Offset: 0x00228D04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this.BNCNMEGFHPM != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.BNCNMEGFHPM);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CDF0 RID: 52720 RVA: 0x0022AB5C File Offset: 0x00228D5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this.BNCNMEGFHPM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BNCNMEGFHPM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CDF1 RID: 52721 RVA: 0x0022ABB4 File Offset: 0x00228DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartAetherDivideChallengeBattleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			if (other.BNCNMEGFHPM != 0U)
			{
				this.BNCNMEGFHPM = other.BNCNMEGFHPM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CDF2 RID: 52722 RVA: 0x0022AC04 File Offset: 0x00228E04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CDF3 RID: 52723 RVA: 0x0022AC10 File Offset: 0x00228E10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BNCNMEGFHPM = input.ReadUInt32();
					}
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005298 RID: 21144
		private static readonly MessageParser<StartAetherDivideChallengeBattleCsReq> _parser = new MessageParser<StartAetherDivideChallengeBattleCsReq>(() => new StartAetherDivideChallengeBattleCsReq());

		// Token: 0x04005299 RID: 21145
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400529A RID: 21146
		public const int ChallengeIdFieldNumber = 1;

		// Token: 0x0400529B RID: 21147
		private uint challengeId_;

		// Token: 0x0400529C RID: 21148
		public const int BNCNMEGFHPMFieldNumber = 12;

		// Token: 0x0400529D RID: 21149
		private uint bNCNMEGFHPM_;
	}
}
